package com.puboot.common.util;

import java.io.Closeable;
import java.io.IOException;

/**
 * @Description
 * @Author 申紫微
 * @Data 2020-02-14 14:52:48
 * @Version 1.0
 */
public class FileTools {
    // 关闭文件流
    public static void close(Closeable fos) {
        if (fos != null) {
            try {
                fos.close();
                fos = null;
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
}
